import request from '@/utils/request'

export function getPartInterface(params) {
  params.expand = 'interfaces, part_name'
  return request({
    url: '/part-interface/index',
    method: 'get',
    params: params
  })
}

// 创建角色
export function CreatePartInterface(data) {
  return request({
    url: '/part-interface/create',
    method: 'post',
    data: data
  })
}
